package com.zhouyu.mini.spring;

import java.lang.reflect.Method;

/**
 * @Author: 01195
 * @Date: 2025/9/15 11:17
 * @Description
 */
public class ZhouyuAdvisor {

    private String pointcut;
    private Method advice;
    private Object aspect;

    public ZhouyuAdvisor(String pointcut, Method advice, Object aspect) {
        this.pointcut = pointcut;
        this.advice = advice;
        this.aspect = aspect;
    }

    public String getPointcut() {
        return pointcut;
    }

    public void setPointcut(String pointcut) {
        this.pointcut = pointcut;
    }

    public Method getAdvice() {
        return advice;
    }

    public void setAdvice(Method advice) {
        this.advice = advice;
    }

    public Object getAspect() {
        return aspect;
    }

    public void setAspect(Object aspect) {
        this.aspect = aspect;
    }
}
